package cn.gson.springboot.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

import cn.gson.springboot.model.pojos.InhospitalReg;


@Mapper
public interface HospitalRegMappers {
	
	//住院登记记录的联合查询
	public JSONArray findRegRecord(@Param("clinicname")String clinicname);
	
	//新增住院登记表
	public void AddHospReg(@Param("hosp_id")String hospid,
			@Param("clinic_id")Integer clinicid,
			@Param("user_id")Integer userid,
			@Param("use_user_id")Integer use_userid,
			@Param("hosp_people")String hosppeople);
	
	//查询出院的记录
	public JSONArray selectOutHospRecord();
	
	//查询病例记录
	public JSONArray selectHospCase();
}
